import request from "@/utils/request";

/**
 * @desc 信息内容审核详情
 * @param {id}
 */
export function getMaterialList(id) {
	return request.get("/app/infoman/information/detail", {id})
}

/**
 * @desc 信息内容审核详情
 * @param {id}
 */
export function saveInformation(data) {
	return request.post("/app/infoman/information/submit", data)
}
/**
 * @desc 信息内容审核通过\驳回
 * @param {id}
 */
export function materialAudit(data) {
	return request.post("/app/app-mine/material-audit", data)
}
/**
 * @desc 终端监控列表
 * @param {id}
 */
export function getTerminalMonitor(data) {
	return request.post("/app/app-mine/terminal-monitor", data)
}
/**
 * @desc 设备预警
 * @param {id}
 */
export function getDeviceWarn(data) {
	return request.post("/app/app-mine/device-warning", data)
}

/**
 * @desc 获取分类
 * @param {id}
 */
export function getClassify(data) {
	return request.get("/app/blade-system/dict-biz/child-list", data)
}